﻿using System.ComponentModel.DataAnnotations;
using INSE6260.OnlineBanking.Model.Accounts;
using INSE6260.OnlineBanking.Model.Clients;
namespace INSE6260.OnlineBanking.Model.ClientCard
{
    public class SecurityInfo
    {
        public Account Account { get; set; }

        public string Question { get; set; }

        [Required(AllowEmptyStrings = false, ErrorMessage = "Answer can not be null.")]
        public string Answer { get; set; }

        public string InvalidMessage { get; set; }

        public bool IsSecuredToken { get; set; }

        public int ClientId { get; set; }

        public int AccountId { get; set; }

        public Client Client { get; set; }

        public string CardNo { get; set; }

        public string Password { get; set; }

        public int ClientCardId { get; set; }

        public int Counter { get; set; }
    }
}
